<script setup lang="ts">
import { RouterView } from 'vue-router'
import { useCounterStore } from '@/stores/index'
import router from '@/router';
import HomeView from '@/views/HomeView.vue'

const storeMenu = useCounterStore()
onMounted(() => {
  storeMenu.getNavMenuList(0);
  router.push('/');
});
</script>

<template>
  <RouterView />
  <!-- <HomeView></HomeView> -->
</template>

<style scoped>
#app{
  padding: 0;
}
</style>
